<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>网络新闻应急性管理系统</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/res/style/common.css">
<link rel="stylesheet" type="text/css" href="/res/style/admin.css">
<link rel="stylesheet" type="text/css"
	href="/res/style/autoPickNews.css">
<script type="text/javascript" src="/res/script/menu.js"></script>
</head>

<body onload="addMenu();">
	<div class="MainDiv">
		<div class="AjustDiv">
			<jsp:include page="/page/admin/adminHeader.jsp"></jsp:include>
			<jsp:include page="/page/admin/adminLeft.html"></jsp:include>
			<!-- 内容部分 -->
			<div class="ContentDiv">
				<div class="DetailDiv">
	
					<div class="ItemDiv"><h2>自动抓取新闻</h2></div>
					<div class="ItemDiv">
						<table>
							<tr>
								<td><label>抓取起点&nbsp;URL：</label>
								</td>
								<td><input style="width:300px" type="text" class="">
								</td>
							</tr>
							<tr>
								<td><label>抓取链接准则：</label>
								</td>
								<td>
									<input style="width:300px" type="text" class="">
									<label class="Tips">*（正则表达式）</label>
								</td>
							</tr>
							<tr>
								<td><label>抓取内容准则：</label>
								</td>
								<td>
									<input style="width:300px" type="text" class="">
									<label class="Tips">*（正则表达式）</label>
								</td>
							</tr>
							<tr>
								<td>
									<button>保存</button>
									<button>重置</button>
								</td>
								<td></td>
							</tr>
						</table>
	
					</div>
					<div class="ItemDiv">
						<table>
							<tr>
								<td><label>URL库</label>
									<button>导入</button>
									<button>移除</button>
									<button>清空</button></td>
								<td></td>
								<td>扒取目标URL<button>清空</button></td>
							</tr>
							<tr>
								<td>
									<select multiple name="list1" size="12" ondblclick="moveOption(document.myform.list1, document.myform.list2)"> 
										<option value="1">http://news.baidu.com</option> 
										<option value="2">http://news.163.com</option> 
										<option value="3">http://www.people.com.cn</option> 
										<option value="4">http://www.xinhuanet.com</option> 
									</select>
								</td>
								<td>
									<button>&gt;&gt;</button>
									<br><br><br>
									<button>&lt;&lt;</button>
								</td>
								<td>
									<select multiple name="list1" size="12" ondblclick="moveOption(document.myform.list1, document.myform.list2)"> 
										<option value="1">http://news.baidu.com</option> 
										<option value="2">http://news.163.com</option> 
										<option value="3">http://www.people.com.cn</option> 
										<option value="4">http://www.xinhuanet.com</option> 
									</select>
								</td>
							</tr>
							<tr>
								<td colspan="2"><button>抓取</button></td>
								<td></td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
	<jsp:include page="/page/admin/adminFooter.html"></jsp:include>
</body>
</html>
